package com.ambow.service;

import org.mybatis.spring.annotation.MapperScan;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.cloud.netflix.eureka.EnableEurekaClient;
import org.springframework.cloud.netflix.feign.EnableFeignClients;

@SpringBootApplication(scanBasePackages = {
		"com.ambow.service",
		"com.ambow.apimodel",
		"com.ambow.common.web",
		"com.ambow.common.redis",
		"com.ambow.common.config",
		"com.ambow.common.base",
		"com.ambow.feign"
})
@EnableEurekaClient
@MapperScan({"com.ambow.service.*.*.dao"})
@EnableFeignClients(basePackages = {"com.ambow.feign"})
public class AdminApplication {

	public static void main(String[] args) {
		SpringApplication.run(AdminApplication.class, args);
	}
}
